#ifndef		States__StateRules_h
#define		States__StateRules_h

#include	"IState.h"
#include	<GUI/ControlGroup.h>
#include	<GUI/CallBack.h>

const unsigned int StateRulesId = 3;

class StateRules : public IState
{
public:
	StateRules(StateMachine * machine);
	virtual ~StateRules();
	virtual void update(double delay);
	virtual void render() const;
	virtual void changingState(bool active);
private:
	void buttonBackPressed(IControl * control);
private:
	ControlGroup m_control;
	ICallBack * m_callBackBack;
};

#endif	//	States__StateRules_h

